import { Map, MapMouseEvent, Point, AnySourceData } from "mapbox-gl";
export function renderLayerGroup(id: string, map: Map, properties: any) {
  // map.addLayer({
  //   id: "",
  // });
  // map.addLayer()
  map!.addLayer({
    id,
    type: "circle",
    layout: properties.layout || {},
    paint: properties.paint || {},
    source: id,
    filter: ["==", ["geometry-type"], "Point"],
  });
}
